/* 整个页面主要设置 */
body {
    text-align: center;
    background: url(/site_media/bg.gif) repeat right top;
}

/* 页面设置，宽度1000px，居中显示 */
#wrapperIndexPage {
    width: 1000px;
    margin: 20px auto;
    text-align: left;
    background: white;
}

/* 页面头设置，高度120px */
#header {
    height: 120px;
    margin: 0 10px;
    padding: 0;
}

#logo {
    height: 100px;
    background: url(/site_media/logo/wall.jpg) no-repeat right top;
}

#logo h1 {
    height: 60px;
    line-height: 60px;
    margin: 0;
    padding: 0;
    font-size: 30px;
}

#logo h2 {
    height: 10px;
    padding-top: 15px;
    color: #666666;
}

#logo h6 {
    height: 10px;
    color: #666666;
}


/* 主导航条及次导航条设置，居中，980px */
#mainNav, #subNav {
    width: 980px;
    font-size: 13px;
}

#mainNav ul{
    background: url(/site_media/bgpages.gif) repeat-x right top;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    float: left;
    width: 100%;
}

#subNav ul{
    background: url(/site_media/bgnavcats.gif) repeat-x right top;
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    width: 100%;
}

#mainNav ul li, #subNav ul li {
    float: left;
}

#mainNav ul a {
    display: block;
    padding: 0 1.5em;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    color: #fff;
    border-right: 1px solid #4593df;
}

#subNav ul a {
    display: block;
    padding: 0 1em;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    color: #333333;
    border-right: 1px solid #aaaaaa;
}

#mainNav ul a:hover {
    background: #4c9ef1;
}

#subNav ul a:hover {
    background: #d0d0d0;
}

/* 内容区域 */
#content {
    margin: 0 10px;
    width: 980px;
    font-size: 13px;
    color: #0c3c3d;
}

#mainContent {
    float: right;
    margin: 0;
    width: 70%;  		/*测试*/
}

#mainContent img {
    margin: 5px auto;
}

#secondaryContent {
    display: none;
}

#mainContent h3 {
    background: #dddddd;
    font-size: 15px;
    padding: 0.3em 0;
    color: #666667;
    margin: 10px 0 10px 0;
}

#listBlog h3 {
    background: white;
    font-size: 16px;
    color: #29568f;
}

#listBlog h3:hover {
    color: #d92100;
}

#blogDetail {
    width: 100%;
    text-align: right;
    color: #666666;
}

#listBlog a {
    text-decoration: none;
    color: #29568f;
}

#listBlog a:hover {
    color: #d92100;
}

/* 图片显示 */
#listBlog img {
    padding: 10px 10px;
}


/* 分页显示部分 */
#page {
    width: 100%;
    text-align: right;
}

#page a {
    text-decoration: none;	/*不知道为什么这里要这么写两个标签将链接括起来才能让firefox显示正常...*/
    color: #29568f;
}

#page .pageLink a {
    margin: 0 3px;
    text-decoration: none;
    color: #29568f;
}

#page .pageLink a:hover {
    color: #d92100;
    text-decoration: underline;
}

#page .pageDetail {
    color: #666666;
    margin-right: 20px;
}

#page .selectedPage {
    margin: 0 3px;
    font-weight: bold;
    color: #cc0000;
}


/* 内容导航区域 */
#contentNav {
    float: left;
    width: 28%;   		/*ceshi*/
}

#contentNav #titlePic {
    width: 100%;
    height: 206px;
    margin: 10px 0 10px 0;
    float: right;
}

#contentNav #titlePic a {
    text-decoration: none;
}

#latestPost h3, #category h3, #comments h3, #link h3 {
    color: #666666;
    margin: 10px 0 5px 0;
    padding: 0;
}

#latestPost ul, #category ul, #comments ul, #link ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#latestPost ul li, #category ul li, #link ul li {
    background: url(/site_media/bgli.gif) no-repeat 0 50%;
    padding-left: 18px;
    border-bottom:1px dotted #999;
}

.peopleName {
    background: url(/site_media/star.gif) no-repeat left 60%;
    margin-right: 5px;
    padding-left: 5px;
    font-weight: bold;
    font-size: 13px;
    color: #666666;
}

#comments ul li {
    border-bottom:1px dotted #999;
}

#latestPost ul li a, #category ul li a, #comments ul li a, #link ul li a {
    text-decoration: none;
    color: #777;
}

#latestPost ul li a:hover, #category ul li a:hover, #comments ul li a:hover, #link ul li a:hover {
    text-decoration: underline;
    color: #29568f;
}

/* 脚注区 */
#footer {
    text-align: center;
    font-size: 11px;
    margin: 0;
    padding: 0;
}

#footer .power {
    font-size: 13px;
    color: #666666;
}

/* Powered By */
#poweredby {
    width: 100%;
    margin: 0;
    text-align: center;
}



#poweredby span {
    margin: 20px 10px;
}

/* 突出显示当前页面导航链接 */
#indexPage #mainNavList .mainNavHomepage a, #aboutMePage #mainNavList .mainNavAboutMe a, #messagePage #mainNavList .mainNavContactMe a, #photoPage #mainNavList .mainNavMyPhoto a {
    background: #4c9ef1;
    cursor: default;
}

/* 留言版设置 */
fieldset {
    margin: 0 5px 0 0;
    padding: 0.5em;
    width: 90%;       	/*修改了一下9.8*/
    border: 1px solid #ccc;
    background: #f8f8f8;
    float: left;
}

legend {
    margin: 0;
    color: #555555;
    font-weight: bold;
}

label {
    float: left;
    width: 7em;
    color: #666666;
    margin: 0;
}

input {
    width: 50%;
}

input.longInput {
    width: 70%
}

input.submit {
    width: auto;
}

input.radio {
    width: auto;
    float: left;
    margin-right: 1em;
}

textarea {
    margin: 0;
    width: 70%;
    height: 150px;
}

input:focus, textarea:focus {
    background: #ffc;
}

input[type="text"], textarea {
    border-top: 2px solid #999;
    border-left: 2px solid #999;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.required {
    font-size: 0.75em;
    color: #760000;
}

/* 留言显示部分 */
#displayName {
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: #29568f;
}

#displayName:hover {
    color: #d92100;
}

#displayDate {
    color: #666666;
    margin: 0;
}

/* #displayDate:hover { */
/*     color: #ff6600; */
/* } */

#displayMessage {
    margin: 0;
    padding: 0;
}

#submit {
    background: url(/site_media/submit.gif) no-repeat;
    width: 59px;
    height:20px;
    border:none;
    text-indent: -900em;
    line-height:0px;
    cursor:pointer;
    float: left;
    margin: 10px 0 ;
}

.feedback {
    color: #760000;
    font-weight: bold;
    left: 200px;
}

#player {
    width: 100%;
    margin: 10px 0;
}